import { NgModule } from '@angular/core';
import { SharedModule } from '../common/components/shared/shared.module';
import { DefaultComponent } from './default/default.component';
import { PassportComponent } from '../login/passport/passport.component';
import { HeaderComponent } from '../common/components/header/header.component';
import { SiderComponent } from '../common/components/sider/sider.component';
import {ComponentsRoutingModule} from './components-routing.module';
import {MyHomeComponent} from './myHome/myHome.component';

const COMPONENTS = [
  DefaultComponent,
  PassportComponent,
  HeaderComponent,
  SiderComponent,
  MyHomeComponent,
];
@NgModule({
  imports: [
    SharedModule,
    ComponentsRoutingModule
  ],
  declarations: [
    ...COMPONENTS
  ],
  exports: [
    ...COMPONENTS
  ]
})
export class ComponentsModule { }
